package com.aysafety.iotdataplatformweb.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: iotDataPlatform
 * @description: 树
 * @author: ChengQi
 * @create: 2019-02-13 13:31
 **/
@Mapper
@Repository
public interface TreeDao {

    /** 
    * @Description: 树中数据
    * @Param: [parram] 
    * @return: long 
    * @Author: ChengQi 
    * @Date: 2019/2/13 
    */ 
    long countTreeData(Map<String,Object> parram);

    /** 
    * @Description: 查询树中数据
    * @Param: [parram] 
    * @return: java.util.List<java.util.Map<java.lang.String,java.lang.Object>> 
    * @Author: ChengQi 
    * @Date: 2019/2/13 
    */ 
    List<Map<String,Object>> queryTreeData(Map<String,Object> parram);
}
